﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ChineseChess_Console
{
    class Piece
    {
        private int _row;//dòng nào
        private int _col;//cột nào
        private int _value;//trong: 0, tot: 1, si: 2, tuong: 3, ma: 4, phao: 5, xe: 6, tuong: 7
        private int _side;//phe 1, phe 2

        public int value
        {
            get { return _value; }
            set { _value = value; }
        }

        public int side
        {
            get { return _side; }
            set { _side = value; }
        }

        public Piece(int row, int col)
        {
            _row = row;
            _col = col;
            _value = 0;
            _side = 0;
        }

        public Piece(int row, int col, int value, int side)
        {
            _row = row;
            _col = col;
            _value = value;
            _side = side;
        }
    }
}
